22
|
Is it possible to let user choose the inserting mode, when he presses Insert key ( method 1 )
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = "00:00";
MaskEdit1.Text = "12:3";
MaskEdit1.AllowToggleInsertMode = true;
MaskEdit1.InsertMode = 1;
}
</SCRIPT>
</BODY>
|
21
|
Does your control support overtype mode ( method 2 )
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = "00:00;;;overtype";
MaskEdit1.Text = "12:3";
}
</SCRIPT>
</BODY>
|
20
|
Does your control support overtype mode ( method 1 )
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.InsertMode = 1;
MaskEdit1.Mask = "00:00";
MaskEdit1.Text = "12:3";
}
</SCRIPT>
</BODY>
|
19
|
How can I change the colors to show a read only field
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.ForeColorReadOnly = 16777215;
MaskEdit1.BackColorReadOnly = 0;
MaskEdit1.ReadOnly = true;
MaskEdit1.Text = "text";
}
</SCRIPT>
</BODY>
|
18
|
How can I lock or make read only the field (method 2)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.ReadOnly = true;
MaskEdit1.Text = "text";
}
</SCRIPT>
</BODY>
|
17
|
How can I lock or make read only the field (method 1)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = "*;;;readonly";
MaskEdit1.Text = "text";
}
</SCRIPT>
</BODY>
|
16
|
Is it possible to mask a password field (method 2)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Right = true;
MaskEdit1.Text = "text";
}
</SCRIPT>
</BODY>
|
15
|
Is it possible to right align field (method 1)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = "*;;;right";
MaskEdit1.Text = "text";
}
</SCRIPT>
</BODY>
|
14
|
Is it possible to mask a password field (method 2)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Password = true;
MaskEdit1.Text = "password";
}
</SCRIPT>
</BODY>
|
13
|
Is it possible to mask a password field (method 1)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = "*;;;password";
MaskEdit1.Text = "password";
}
</SCRIPT>
</BODY>
|
12
|
How can I mask an integer within a range
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = "{1950,2050}";
MaskEdit1.Text = 1979;
}
</SCRIPT>
</BODY>
|
11
|
How can I mask an integer value with no grouping support
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = ";;;float,grouping=,decimal=,digits=0,select=1";
MaskEdit1.Text = 12345.67;
}
</SCRIPT>
</BODY>
|
10
|
How can I mask an integer value (method 2)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = "-#####;;;float,select=1";
MaskEdit1.Text = -12345.67;
}
</SCRIPT>
</BODY>
|
9
|
How can I mask an integer value (method 1)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = ";;;float,decimal=,digits=0,select=1";
MaskEdit1.Text = 12345.67;
}
</SCRIPT>
</BODY>
|
8
|
How can I specify the number of digits when masking a float (method 2)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = "###.#;;;float,select=1";
MaskEdit1.Text = 12345.67;
}
</SCRIPT>
</BODY>
|
7
|
How can I specify the number of digits when masking a float (method 1)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = ";;;float,select=1,digits=1";
MaskEdit1.Text = 12345.67;
}
</SCRIPT>
</BODY>
|
6
|
How do I mask a positive, floating point numbers support, including grouping of digits
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = ";;;float,select=1,negative=0";
MaskEdit1.Text = -12345.67;
}
</SCRIPT>
</BODY>
|
5
|
How do I mask a floating point numbers support, with a different decimal character
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = ";;;float,grouping= ,decimal=\\,,select=1";
MaskEdit1.Text = "12345,67";
}
</SCRIPT>
</BODY>
|
4
|
How do I mask a floating point numbers support, excluding grouping of digits
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = ";;;float,grouping=,select=1";
MaskEdit1.Text = 12345.67;
}
</SCRIPT>
</BODY>
|
3
|
How do I mask a floating point numbers support, including grouping of digits
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.Mask = ";;;float,select=1";
MaskEdit1.Text = 12345.67;
}
</SCRIPT>
</BODY>
|
2
|
How can I change the control's foreground color
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.ForeColor = 255;
MaskEdit1.Text = "aka";
}
</SCRIPT>
</BODY>
|
1
|
How can I change the control's background color
<BODY onload="Init()">
<OBJECT CLASSID="clsid:43F80262-F652-11D3-AD39-00C0DFC59237" id="MaskEdit1"></OBJECT>
<SCRIPT LANGUAGE="JScript">
function Init()
{
MaskEdit1.BackColor = 255;
}
</SCRIPT>
</BODY>
|